package tgc.edu.tms.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import tgc.edu.tms.custom.CommonRepository;
import tgc.edu.tms.entity.Teacher;
@Repository
public interface TeacherRepository extends CommonRepository<Teacher, Integer>{

	public List<Teacher> findByDeptId(Integer value);

	public Teacher findByUsername(String teacher);

	public Teacher findByName(String teacher);
}
